package com.repair.service.Afcrepair;




import java.util.List;

import com.repair.dao.Afcrepair.IAfcrepairDao;
import com.repair.domain.Afcrepair;
import com.repair.factory.DaoFactory;




public class AfcrepairService {
	private IAfcrepairDao dao = (IAfcrepairDao)DaoFactory.getInstance().getDao("AfcrepairDao");
	
	
	public void save(Afcrepair obj){
		this.dao.saveAfcrepair(obj);
	}
	public  List<Afcrepair> list(){
		return this.dao.getAllAfcrepair();
	}
	public void delete(Afcrepair obj){
		this.dao.deleteAfcrepair(obj);
	}
}
